package cn.dxh.stagefinal.service;

import cn.dxh.stagefinal.bean.Provider;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * IntelliJ IDEA -> stagefinal
 * 2019/12/11 15:02
 *
 * @author zmyao
 * 别看，我是渣渣。
 */
public interface ProviderService {
    PageInfo<Provider> findProviders(Integer pageIndex,Integer pageSize , String pName, String pLinkMan);
    int  insertProvider(Provider provider);
    Provider findProviderByPid(Integer pId);
    int updateProvider(Provider provider);
    int deleteProvider(Integer pId , Integer pState);
    int deleteProviderByPids(int[] pIds);
List<Provider> findProvidersByPid(int[ ] pIds);

}
